export const PageItem = {
  title: '社会经济信息',
  commUrl: '/health_records/health_social/healthSocialInfo',
}
export const socioeconomicFields = {
  // 基本信息
  name: { show: true, label: '姓名', edit: true, type: 'text', required: false },
  idNumber: { show: true, label: '证件号码', edit: true, type: 'text', required: false },
  
  // 经济状况
  incomeLevel: { show: true, label: '收入水平(个人或家庭年收入范围)', edit: true, type: 'text', required: false },
  incomeSour: { show: true, label: '收入来源', edit: true, type: 'picker', dictCode: 'h_incomeSour', required: false },
  liveIncome: { show: true, label: '服务对象月均收入', edit: true, type: 'text', required: false },
  econoSource: { show: true, label: '服务对象主要经济来源', edit: true, type: 'text', required: false },
  econPress: { show: true, label: '经济压力', edit: true, type: 'picker', dictCode: 'h_econPress', required: false },
  mediDebt: { show: true, label: '是否有医疗债务', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  ownRatio: { show: true, label: '医疗费用支付自费比例%', edit: true, type: 'number', required: false },
  
  // 工作状况
  workType: { show: true, label: '职业类型', edit: true, type: 'text', required: false },
  workUnit: { show: true, label: '工作单位', edit: true, type: 'text', required: false },
  workPress: { show: true, label: '工作压力', edit: true, type: 'picker', dictCode: 'h_workPress', required: false },
  workHarm: { show: true, label: '是否接触职业危害', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  ifTrian: { show: true, label: '是否接受过职业技能及相关领域培训', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  
  // 居住环境
  liveAddr: { show: true, label: '常住地址', edit: true, type: 'text', required: false },
  resideAddr: { show: true, label: '户籍地址', edit: true, type: 'text', required: false },
  resideType: { show: true, label: '居住地类型', edit: true, type: 'picker', dictCode: 'h_resideType', required: false },
  houseType: { show: true, label: '住房性质', edit: true, type: 'picker', dictCode: 'h_houseType', required: false },
  houseArea: { show: true, label: '住房面积', edit: true, type: 'number', required: false },
  liveAlone: { show: true, label: '独居与否', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  liveDsc: { show: true, label: '服务对象居住情况', edit: true, type: 'text', required: false },
  
  // 居住环境详情
  liveEnvir: { show: true, label: '服务对象住所环境', edit: true, type: 'text', required: false },
  liveHyg: { show: true, label: '服务对象住所生活卫生', edit: true, type: 'text', required: false },
  liveHeat: { show: true, label: '服务对象居住环境-保暖/降温设施', edit: true, type: 'text', required: false },
  liveWc: { show: true, label: '服务对象居住环境-卫生间', edit: true, type: 'text', required: false },
  liveSafe: { show: true, label: '服务对象居住环境-安全保障', edit: true, type: 'text', required: false },
  liveEmer: { show: true, label: '服务对象居住环境-应急物品', edit: true, type: 'text', required: false },
  liveStore: { show: true, label: '物品保管', edit: true, type: 'text', required: false },
  liveEffects: { show: true, label: '个人物品', edit: true, type: 'text', required: false },
  
  // 周边环境
  ifHos: { show: true, label: '周边环境是否方便就医', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  ifTrans: { show: true, label: '周边环境是否交通便利性', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  ifPollute: { show: true, label: '周边环境是否有污染源', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  ifTapwater: { show: true, label: '是否有自来水', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  ifToilet: { show: true, label: '是否有独立卫生间', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  
  // 流动人口信息
  flowDate: { show: true, label: '移民/流动人口信息-流动时间', edit: true, type: 'text', required: false },
  flowReason: { show: true, label: '移民/流动人口信息-流动原因', edit: true, type: 'text', required: false },
  
  // 生活习惯
  eatDsc: { show: true, label: '饮食习惯', edit: true, type: 'text', required: false },
  smokeDsc: { show: true, label: '吸烟行为', edit: true, type: 'text', required: false },
  brinkDsc: { show: true, label: '饮酒行为', edit: true, type: 'text', required: false },
  motionFreq: { show: true, label: '运动频率', edit: true, type: 'text', required: false },
  
  // 社会保障
  mediType: { show: true, label: '医保类型', edit: true, type: 'picker', dictCode: 'h_mediType', required: false },
  socialInsu: { show: true, label: '社会保险', edit: true, type: 'checkbox', required: false },
  socialWelfare: { show: true, label: '社会福利参与', edit: true, type: 'checkbox', required: false },
  ifTarget: { show: true, label: '是否纳入精准扶贫对象', edit: true, type: 'picker', dictCode: 'yes_no', required: false },
  
  // 社会支持
  familySupport: { show: true, label: '家庭支持强度', edit: true, type: 'picker', dictCode: 'h_familySupport', required: false },
  commActi: { show: true, label: '社区活动参与度', edit: true, type: 'picker', dictCode: 'h_commActi', required: false },
  
  // 生活事件
  majorEvents: { show: true, label: '重大生活事件记录', edit: true, type: 'textarea', required: false },
  note: { show: true, label: '备注', edit: true, type: 'textarea', required: false },
  
  // 系统字段
  recordid: { show: true, label: '健康档案ID', edit: false, type: 'number', required: false },
  valid: { show: true, label: '有效标志', edit: false, type: 'picker', dictCode: 'h_valid', required: false },
  // createTime: { show: true, label: '创建时间', edit: false, type: 'datetime', required: false },
  // createBy: { show: true, label: '创建人', edit: false, type: 'text', required: false },
  // updateTime: { show: true, label: '修改时间', edit: false, type: 'datetime', required: false },
  // updateBy: { show: true, label: '修改人', edit: false, type: 'text', required: false },
  // id: { show: false, label: '主键ID', edit: false, type: 'text', required: false }
}